import typing

class Solution:
    def minimumTime(self, s):
        zeros = s.count('1')
        return zeros


print(Solution().minimumTime("1100101"))

"""
011001111111101001010000001010011
"0 1 1 0 0 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 0 0 1 1"
"0 1 1 0 0 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 0 0 1 1"
 L L L L                                                     R R R

0 32
l:0
1 32
r:1
1 31
r:11
1 30
r:011
1 29
l:01
2 29
l:011
3 29
l:0110
4 29
r:0011
4 28
l:01100
5 28
r:10011
5 27
r:010011
5 26
l:011001
6 26
l:0110011
7 26
l:01100111
8 26
l:011001111
9 26
l:0110011111
10 26
l:01100111111
11 26
l:011001111111
12 26
l:0110011111111
13 26
l:01100111111110
14 26
r:1010011
14 25
r:01010011
14 24
l:011001111111101
15 24
l:0110011111111010
16 24
r:001010011
16 23
l:01100111111110100
17 23
r:0001010011
17 22
l:011001111111101001
18 22
l:0110011111111010010
19 22
r:00001010011
19 21
l:01100111111110100101
20 21
l:011001111111101001010000001010011
21 21
r:000001010011
"""